/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 01.08.2018, 14:11:36
    Author     : 27087
*/

/*
fads.template
*/

#content {
    width: 700px;
    margin: 0 auto;        
}

#addNew {
    background: #ff8300;
    border-radius: 3px;
    color: #fff;
    float: right;
    font-size: 14px;
    margin-bottom: 13px;
    margin-top: 13px;
    padding: 8px 14px 8px 34px;
    position: relative;
    text-transform: uppercase;
    text-decoration: none;
}
#addNew:hover {
    background: #ff983b;
}
#addNew:after{
    background: #fff;
    content: " ";
    height: 12px;
    left: 19px;
    position: absolute;
    top: 11px;
    width: 2px;       
}
#addNew:before {
    background: #fff;
    content: " ";
    height: 2px;
    left: 14px;
    position: absolute;
    top: 16px;
    width: 12px;
}

.cabBtn {
    background: #ff8300;
    border-radius: 3px;
    color: #fff!important;
    float: right;
    font-size: 14px;
    padding: 8px 34px 8px 34px;
    position: relative;
    text-transform: uppercase;
    text-decoration: none !important;
}
.cabBtn:hover {
    background: #ff983b;
}
.cabBtn, #addNew {
    margin: 2px 2px;
}


#searchcontainer{
    margin: 7px auto 0 auto; 	
}
#searchcontainer0{
    text-align: center;
}
#searchcontainer0>form{
    background: #0098d0;
    border-radius: 4px;
    padding: 10px;
    max-width: 700px;
    text-align: center;
    margin: 7px auto 0 auto; 
}
#searchcontainer0>form>input{
    height: 35px;
    margin: 2px 0px;
    padding: 0px 5px;
    border-radius: 4px;
    font-size: 20px;
    line-height: 22px;
}
#searchcontainer0>form>input[type=text]{
    width: 290px;
}
#searchcontainer0>form>input[name=query]{

}
#searchcontainer0>form>input[name=location]{

}
#searchcontainer0>form>input[name=submit]{
    background-color: #7cc8f8;
    border-color: #7cc8f8;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 8px;
    width: 80px;
    line-height: 22px;
}

div#latest_ads {
    overflow: hidden;
    height: 230px;
}
div#latest_ads>div {
    width: 160px;
    float: left;
    height: 215px;
    overflow: hidden;
    box-shadow: 2px 2px 3px #ccc;
    margin: 6px;
    border: 1px solid #ccc;
}
div#latest_ads>div>div:nth-child(1) {
    width: 160px;
    height: 160px;
    overflow: hidden;
    text-align: center;
    display: flex;
    justify-content: center;
}
div#latest_ads>div>div:nth-child(1)>a {
    display: flex;
    align-items: center;
}
div#latest_ads>div>div:nth-child(1)>a>img {
    max-width: 160px;
    max-height: 160px;
}
div#latest_ads>div>div:nth-child(2) {
    padding: 5px;
}
div#latest_ads>div>div:nth-child(2)>a {
    color: #0098d0;
    font-weight: bold;
    white-space: nowrap;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    width: 152px;
    overflow: hidden;
    font-size: 11px;
    display: block;
}
div#latest_ads>div>div:nth-child(3) {
    font-size: 18px;
    padding: 2px;   
}

#allAdsLink {
    width: 100%;
    text-align: right;
    font-size: 20px;
    padding: 6px 0px 0px 0px;

} 
#allAdsLink a{
    color: #0098d0;
    font-weight: bold;
} 

#content>p {
    font-size: 20px;
    text-transform: uppercase;
}
#cats {
    margin: 20px 0px 40px 0px;
    overflow: hidden;
}
#cats>div {
    display: table;
    width: 100%;
    margin: 10px 0px;
}
#cats>div>div {
    width: 25%;
    float: left;
    display: table-cell;
}
#cats>div>div>div {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    line-height: 20px;
}
#cats>div>div>div>a {
    text-decoration: none;
    display: block;
    color: #0098d0;
    font-weight: bold;
    text-overflow: ellipsis;
    overflow: hidden;
}
#cats>div>div>div>a:hover {
    background: #0098d0;
    color: #fff;
}

#content {
    width: 500px;
    margin: 0 auto;
    padding: 25px;
    background: #fff;
    border-radius: 5px;
}


#images {

}
#images>img {
    max-width: 500px;
    margin: 0px 0px 7px 0px;
}

#moder_tools {
    text-align: center;
    border: 1px dotted;
    padding: 7px;
    background: #e9e9e9;
}
#moder_tools>h2 {
    padding: 0px 8px 8px 8px;
    font-size: 16px;
}
#moder_tools>textarea#fads_comment {
    width: 100%;
    margin: 0px;
    padding: 0px;
    height: 60px;
}
#moder_tools>select#fads_quick_comment {
    width: 100%;
    margin: 0px;
    padding: 0px;
    height: 30px;
    font-size: 18px;
    line-height: 20px;
}
#moder_tools>p#fads_link_topic_name_url {
    width: 100%;
    padding: 0px;
    margin: 11px 0px 0px 0px;

}
#moder_tools>input#fads_link_topic_name_search {
    width: 100%;
    margin: 0px 0px 11px 0px;
    height: 22px;
    font-size: 18px;
}
#moder_tools>input[type=button] {
    width: 30%;
    padding: 12px;
    font-size: 17px;
    text-transform: uppercase;
    font-weight: bold;
    margin: 10px 0px;
}
#moder_tools .status_on {
    background: green;
}

#other_ads>a {
    color: #0098d0;
    display: block;
    text-align: center;
    padding: 9px;
    margin: 0px 0px 7px 0px;
    border: 2px solid #0098d0;
    text-decoration: none;
    font-size: 18px;
}



/*
fadsAdmin.template
*/
#manager {
    width: 100%;
    overflow: hidden;
}
#first, #second, #third {
    width: 33%;
    border: 1px solid #ccc;
    float: left;
    min-height: 100px;
}
#first>ul, #second>ul, #third>ul {
    min-height: 120px;
    width: auto;
    padding: 0px;
    margin: 5px;
}
#first>ul>li, #second>ul>li, #third>ul>li {
    list-style: none;
    border: 1px solid #ccc;
    background: #fff;
    margin: 4px 0px;
    padding: 3px 2px;
}

#first>ul>li>img, #second>ul>li>img, #third>ul>li>img {
    margin: 0px 6px;
    float: right;
    padding: 0px;
    overflow: hidden;
    height: 16px;
    cursor: pointer;
}

#first>ul>li>span.name_select, #second>ul>li>span.name_select, #third>ul>li>span.name_select {
    cursor: pointer;
}
#first>.add_cat, #second>.add_cat, #third>.add_cat {
    cursor: pointer;
}
#second>.add_cat, #third>.add_cat {
    display: none;
}
#first {

}
#second {

}
#third {

}
#edit_cat {
    position: fixed;
    width: 400px;
    height: 200px;
    border: 1px solid;
    top: 50%;
    margin-top: -100px;
    left: 50%;
    margin-left: -200px;
    background: #fff;
    display: none;
}
#blankjs {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background: #ccc;
    opacity: 0.8;
}

/*
fadsCabintet.template
*/
#bookmarks {

}
#bookmarks>div {
    width: 125px;
    float: left;
}
#bookmarks>div>a {
    display: block;
    padding: 5px;
}
#bookmarks>div>a>span {
    display: block;
    overflow: hidden;
}
#bookmarks>div>a>span>img {
    min-width: 125px;
    min-height: 125px;
    height: 125px;
}
#fads_sub_nav_bar {
    list-style: none;
    border-top: 1px solid #ccc;
    border-bottom: 2px solid #ccc;
    padding: 4px;
}
#fads_sub_nav_bar>li{
    display: inline-block;
    margin: 0px 10px 0px 0px;
}
#fads_sub_nav_bar>li>a{
    font-size: 12px;
}
#fads_sub_nav_bar .active {
    font-weight: bold;
}
#fads_list {
}
#fads_list>div {
    border-top: 1px #ccc solid;
    margin: 7px 0px;
    overflow: hidden;
    height: 56px;
    border-bottom: 1px solid #ccc;
    background: #fff;
    padding: 3px 3px;
}
#fads_list .imgcontainer {
    height: 56px;
    width: 55px;
    float: left;

}
#fads_list .datacontainer {
    margin: 2px 0px 0px 59px;
    border-left: 1px solid #ccc;
    height: 52px;
    padding: 0px 5px;
    position: relative;
}

#fads_list .title {
}
#fads_list .title>span {
    font-weight: bold;
}
#fads_list .tools {
    font-size: 11px;
    margin: 3px 0px 0px 0px;
    text-align: right;
    position: absolute;
    right: 0px;
    bottom: 0px;
}
#fads_nav_bar {
    list-style: none;
}
#fads_nav_bar>li{
    display: inline-block;
    margin: 0px 10px 0px 0px;
}
#fads_nav_bar>li>a{
    font-size: 14px;
}
#fads_nav_bar .active {
    font-weight: bold;
}
#new_edit {
    width: 500px;
    margin: 0 auto;        
}
#new_edit>form {

}
#new_edit>form>div {
    margin: 5px 0px;
    clear: both;

}
#new_edit>form>div>span {
    width: 180px;
    display: inline-block;
    vertical-align: top;
    font-size: 12px;
    font-weight: bold;
}
#new_edit>form>div>input{
    width: 300px;
    margin: 0px;
    padding: 0px;
    font-size: 14px;
    border-radius: 3px;
    height: 24px;
}
#new_edit>form>div>input[name="submit"]{
    width: 90%;
    font-weight: 700;
    border: 1px solid #0098d0;
    background-color: #0098d0;
    padding: 10px 5px;
    height: auto;
    color: #fff;
    cursor: pointer;
}
#new_edit>form>div>select{
    width: 300px;
    margin: 0px;
    padding: 0px;
    font-size: 14px;
    border-radius: 3px;
    height: 24px;
}
#new_edit>form>div>textarea{
    width: 300px;
    margin: 0px;
    padding: 0px;
    font-size: 14px;
    border-radius: 3px;
    height: 320px;
}
#fadeforsave {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #ccc;
    z-index: 100500;
    top: 0px;
    left: 0px;
    opacity: 0.7;
    display: none;
}
#fadeforsave>img {
    height: 150px;
    position: absolute;
    top: 30%;
    left: 50%;
    margin-left: -75px;
}

body {
    overflow-y: scroll;
}
#content {
    width: 500px;
    margin: 0 auto;        
}

ul#image-widget {
    list-style: none;
    display: block;
    overflow: hidden;
}            
ul#image-widget>li {
    float: left;
    margin: 4px;
    position: relative;
    border: 2px dashed #cbd2d7;
    display: block;
    width: 140px;
    height: 140px;
    overflow: hidden;
}            
ul#image-widget>li>span.preview {
    height: 140px;
    width: 140px;
    text-align: center;
    background: #fff;
    display: block;
    background: url(../../../ADSResourses/images/add.png) no-repeat #fff;
    background-size: 40px;
    background-position: center center;
}
ul#image-widget>li>span.preview>img {
    max-width: 130px;
    max-height: 130px;
    top: 0px;
    right: 0px;
    padding: 1px;
    border-radius: 7px;
    margin: 3px auto;
    border: #ccc 1px solid;
}
ul#image-widget>li>img.remove {
    position: absolute;
    display: none;
    bottom: 0px;
    right: 0px;
    z-index: 100500;
    cursor: pointer;
    width: 24px;
    padding: 2px;
}
ul#image-widget>li>img.rotate {
    position: absolute;
    display: none;
    top: 0px;
    left: 0px;
    z-index: 100500;
    cursor: pointer;
    width: 24px;
    padding: 2px;
}

ul#image-widget>li>label {
    width: 140px;
    height: 140px;
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    cursor: pointer;
}            
ul#image-widget>li>label>input {
    width: 0px;
    height: 0px;
    display: none;
}            

/* 
fadsModer.template
*/
#fads_sub_nav_bar {
    list-style: none;
    border-top: 1px solid #ccc;
    border-bottom: 2px solid #ccc;
    padding: 4px;
}
#fads_sub_nav_bar>li{
    display: inline-block;
    margin: 0px 10px 0px 0px;
}
#fads_sub_nav_bar>li>a{
    font-size: 12px;
}
#fads_sub_nav_bar .active {
    font-weight: bold;
}

#fads_list {
}
#fads_list>div {
    border-top: 1px #ccc solid;
    margin: 7px 0px;
    overflow: hidden;
    height: auto;
    border-bottom: 1px solid #ccc;
    background: #fff;
    padding: 3px 3px;
}
#fads_list .imgcontainer {
    height: 56px;
    width: 55px;
    float: left;

}
#fads_list .datacontainer {
    margin: 2px 0px 0px 59px;
    border-left: 1px solid #ccc;
    height: auto;
    padding: 0px 5px;
    position: relative;
}

#fads_list .title {
    padding: 0px 0px 20px 0px;
}
#fads_list .title>span {
    font-weight: bold;
}
#fads_list .tools {
    font-size: 11px;
    margin: 3px 0px 0px 0px;
    text-align: right;
    position: absolute;
    right: 0px;
    bottom: 0px;
}
#fads_list .tools span {
    cursor: pointer;
}
body {
    overflow-y: scroll;
}
#content {
    width: 500px;
    margin: 0 auto;        
}
#fads_nav_bar {
    list-style: none;
}
#fads_nav_bar>li{
    display: inline-block;
    margin: 0px 10px 0px 0px;
}
#fads_nav_bar>li>a{
    font-size: 14px;
}
#fads_nav_bar .active {
    font-weight: bold;
}

/*
fadsSearch.template
*/

#content {
    width: 700px;
    margin: 0 auto;        
}


#searchmain input[type="text"]{
    height: 35px;
    margin: 0px 0px 0px 10px;
    padding: 0px;
    border-radius: 4px;
    font-size: 20px;
    line-height: 22px;
}
#searchmain input[type="text"]:focus, #searchmain input[type="text"]:hover{
    outline: 0;
    outline-offset: 0;

}
#searchmain input[name="query"], #searchmain input#location{
    border: none; 
    width: 95%;
}
#prices input[name="min_price"], #prices input[name="max_price"]{
    width: 267px;
    border: none; 
}
#searchmain select {
    height: 35px;
    margin: 3px 0px;
    padding: 0px 5px;
    border-radius: 4px;
    font-size: 20px;
    line-height: 22px;
    border: #ccc 1px solid;
}
#searchmain .input_container {
    position: relative;
    border: 1px solid #ccc;
    width: 100%;
    margin-bottom: 5px;
    border-radius: 5px;
}

#prices {

}
#prices .price_container {
    width: 300px;
    display: inline-block;
}
#searchmain .input_clear {
    position: absolute;
    right: 7px;
    top: 10px;
    font-size: 20px;
    color: #ccc;
    cursor: pointer;
}
#searchmain input[type=submit], #save_search, #saved_search {
    background: #0098d0;
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    border-radius: 5px;
    margin: 1px;
    padding: 9px 14px;
    border: none;
    cursor: pointer;
    float: right;
}

#saved_search {
    background: #ccc;
    display: none;
}

#result_ads {

}
#result_ads>div {
    padding: 3px 0px 4px 3px;
    overflow: hidden;
    border: 1px solid #ccc;
    margin: 0px 0px 10px 0px;
    box-shadow: 2px 2px 3px #ccc;
}
#result_ads>div>div{
    display: inline-block;
    vertical-align: top;
}
#result_ads>div>.img {
    width: 200px;
    text-align: center;
    background: #ededed;
    border: 3px solid #ededed;
}
#result_ads>div>.img img {
    max-width: 100%; 
    max-height: 200px;
}
#result_ads>div>.title {
    padding: 5px 5px 5px 5px;
}
#result_ads>div>.title>span {
    color: #bebebe;
    font-size: 11px;
    cursor: help;
}
#result_ads>div>.title>span:hover {
    color: #000;
}
#result_ads>div>.title>span.ad_location {
    font-weight: bold;
}
#result_ads>div>.title>span.ad_category {
    font-style: italic;
}
#result_ads>div>.title>span.ad_time {

}
#result_ads>div>.title>a {
    font-size: 16px;
    color: #0098d0;
    text-decoration: none;
    font-weight: bold;
}
#result_ads>div>.price {
    padding: 5px 0px 5px 5px;
    float: right;
    font-size: 22px;
    font-weight: normal;
}
ul#sub_cat {
    clear: both;
    margin: 0px;
    padding: 4px 30px;
    overflow: hidden;
}
ul#sub_cat li {
    float: left;
    margin: 0px 37px 0px 0px;
    padding: 3px 0px;
}
#content {
    width: 500px;
    margin: 0 auto;
    padding: 25px;
    background: #fff;
    border-radius: 5px;
}

#title {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #ccc;
}
#title_img {
    max-width: 500px;
    width: 100%;
}

#title>h1 {
    font-size: 20px;
    text-align: left;
    margin: 12px 0px 0px 0px;
}

#title .specs {
    margin: 5px 0px;
    overflow: hidden;
    border-bottom: 1px solid #ccc;
    width: 100%;
    padding: 6px 0px;
    overflow: hidden;
}
#title .sprice, #title .is_new, #title .phone {
    width: 50%;
    float: left;
    font-size: 16px;
    padding: 6px 0px 11px 0px;
}

#title .sprice span, #title .is_new span, #title .phone span {
    color: #a6a6a6;
    display: block;
    float: left;
}
#title .author {
    text-align: left;
    display: block;
    padding: 0px;
    float: left;
}
#title .author a {
    font-weight: bold;
}
#title .infobtn {
    cursor: pointer;
    height: 14px;
    width: 14px;
    display: block;
    text-align: center;
    vertical-align: middle;
    border-radius: 50%;
    background: #fd9604;
    border: 1px solid #ccc;
    float: left;
    margin: 0px 5px;
    color: #fff;

}
#title .infospoiler {
    cursor: pointer;
    display: none;
    float: left;
    margin: 0px 5px;
}
#title .created {
    display: block;
    float: left;
    margin: 0px;
}

#title .location {
    width: 100%;
    font-weight: bold;
    text-align: left;
    line-height: 28px;
    border-bottom: 1px solid #ccc;
    margin: 0px 3px;
}

#controll {

}
#controll>a {
    display: inline-block;
    background: #fd9604;
    color: #fff;
    width: 100px;
    padding: 2px 0px;
    margin: 0px;
}


/*#title>ul {
    text-align: left;
    font-size: 11px;
}
#title>ul li{
    font-size: 14px;
    display: inline-block;
    background: #00a3df;
    padding: 4px;
    margin: 3px;
    color: #fff;
}
#title>ul>li>a{
    color: #fff;
}*/


#descriptionads {
}
#descriptionads>p {
    margin: 7px 2px;
    font-size: 14px;
    text-indent: 12px;
    white-space: pre-line;
}
#images {

}
#images img {
    max-width: 100%;
    margin: 0px 0px 7px 0px;
    width: 100%;
}

#moder_tools {
    text-align: center;
    border: 1px dotted;
    padding: 7px;
    background: #e9e9e9;
}
#moder_tools>h2 {
    padding: 0px 8px 8px 8px;
    font-size: 16px;
}
#moder_tools>textarea#fads_comment {
    width: 100%;
    margin: 0px;
    padding: 0px;
    height: 60px;
}
#moder_tools>select#fads_quick_comment {
    width: 100%;
    margin: 0px;
    padding: 0px;
    height: 30px;
    font-size: 18px;
    line-height: 20px;
}
#moder_tools>p#fads_link_topic_name_url {
    width: 100%;
    padding: 0px;
    margin: 11px 0px 0px 0px;

}
#moder_tools>input#fads_link_topic_name_search {
    width: 100%;
    margin: 0px 0px 11px 0px;
    height: 22px;
    font-size: 18px;
}
#moder_tools>input[type=button] {
    width: 30%;
    padding: 12px;
    font-size: 17px;
    text-transform: uppercase;
    font-weight: bold;
    margin: 10px 0px;
}
#moder_tools .status_on {
    background: green;
}

#content {
    width: 90%;
    margin: 0 auto;
}

#save_search_list {
    padding: 0px 15px;
}
#save_search_list>ul {
    display: block;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 2px #ccc;
    padding: 9px;
    list-style: none;
}

#save_search_list>ul>li {

}
#save_search_list>ul>li>span {
    font-weight: bold;
}
#save_search_list>ul>li.tools {
    border-top: 1px solid #ccc;
    padding-top: 5px;
    margin-top: 5px;
    text-align: right;
}
#save_search_list>ul>li.tools>a {
    font-size: 14px;
    padding-right: 10px;
}



@media (max-width: 500px){
    #content {
        padding: 0px;
    }
    #cats {
        margin: 5px 0px 40px 0px;
        overflow: hidden;
    }
    #cats>div {
        margin: 0px;
    }
    #cats>div>div {
        width: 100%;
    }
    #cats>div>div>div {
        padding: 4px 0px;
    }

    #result_ads>div {
        padding: 0px 0px 5px 0px;
        overflow: hidden;
        border-top: 1px solid #ccc;
        margin: 0px 0px 5px 0px;
        position: relative;
    }
    #result_ads>div>.price {
        padding: 5px 0px 5px 5px;
        float: right;
        font-size: 22px;
        font-weight: normal;
        position: absolute;
        top: 9px;
        right: 0px;
    }
    #result_ads>div>.img {
        width: 200px;
        text-align: center;
        margin: 3px;
    }


}

@media (max-width: 1000px){
    #content {
        width: 100%;
        margin: 0 auto;
        padding: 25px 0px;
    }
    #cats>div>div {
        width: 50%;
    }
    #cats>div>div>div {
        padding: 4px 0px;
    }

    #result_ads>div {
        padding: 0px 0px 5px 0px;
        overflow: hidden;
        border-top: 1px solid #ccc;
        margin: 0px 0px 5px 0px;
        position: relative;
    }
    #result_ads>div>.price {
        padding: 5px 0px 5px 5px;
        float: right;
        font-size: 22px;
        font-weight: normal;
        position: absolute;
        bottom: 9px;
        right: 0px;
    }
    #result_ads>div>.img {
        width: 200px;
        text-align: center;
        margin: 3px;
    }

}

#sortable-cat {
    text-align: right;	
    font-size: 12px;
}
#sortable-cat a {
    margin: 0px 5px;
}

#specs2 {
    overflow: hidden;
    margin: 0px 3px;
}
.specs {
    overflow: hidden;
    margin: 0px 3px;
}
